package edu.psu.geovista.app.plot.ruler.tick;

import java.awt.*;

/*
 * GeoVISTA Center (Penn State, Dept. of Geography)
 * Copyright (c), 2003-2011,  Jin Chen and Alan M. MacEachren, GeoVISTA Center, Penn State University
 * Licensed under Simplified BSD License
 *
 *
 * @author: jin Chen 
 * @date: Jan 28, 2005$
 * @version: 1.0
 */

public interface Tick {
    // 
    public Point getLocation();
    public void paintComponent(Graphics g);
    public void setLocation(Point location);
    public void setLocation(int x, int y);

    public float getValue();

    public void setValue(float value);

    public int getLength();

    public  void setLength(int length);
    public void setOrient(int orient);
    // 
    public int getOrient() ;
    public void setColor(Color color) ;
    // 
    public void setLabelBounds(int x, int y,int w, int h);
    //return the bound of the label that display the tick info (e.g.: value)
    public Rectangle getLabelBounds() ;
}
